package com.group01.utils;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @Description 异常专业化打印输出工具
 * @Author 翟玉龙
 * @Date 2024/5/15
 */

public class LogUtil {
    private static final Logger logger = LogManager.getLogger(LogUtil.class);

    public static void info(String msg) {
        logger.info(msg);
    }

    public static void error(String msg, Throwable e) {
        logger.error(msg, e);
    }
}
